<?php
header('Content-Type: text/xml');
include "fonctions.php";


if (isset($_POST['id']) && isset($_POST['etat'])) {

		db_connect();
		$req ="UPDATE LMLP.cadavre_exquis SET vitrine = ".$_POST['etat']." WHERE idExercice=".$_POST['id'].";";
		$res  = mysql_query($req) or die (mysql_error());	
}

?>
